#include "socket.h"
/*
#define BEGIN_FUNCTION(f)   void  f(){
#define END_FUNCTION(f)  };store_addr((long)f);  

int addr[10];
int idx = 0;
int store_addr(long add)
{
	addr[idx++] = add;
}
BEGIN_FUNCTION(test_function)
{
	printf("this is a big test\n");

}
END_FUNCTION(test_function)
 
BEGIN_FUNCTION(test_function1)
{ 
	printf("this is a big test\n");
}
END_FUNCTION(test_function1)
int main()
{
	//init_server();
	//http_accept();
//	test_function();

// 	func f = funct;
  
	printf("funct address is %x \n", test_function);
	printf("addr1 address is %x \n", addr[0]);

 
	printf("funct address is %x \n", test_function1);
	printf("addr1 address is %x \n", addr[1]);
// 	return;
}
*/


/*
int main()
{
	init_server();
	http_accept();
}
*/
int a[10] = {0};

#define BEGIN_FUNCTION(f)  f(){  
#define END_FUNCTION(f)  } a[1]=0;

BEGIN_FUNCTION(function1)
{
	printf("this is a test\n");
}
END_FUNCTION(function1)

main()
{
	function1();
}